#!/bin/bash

MAVID=3

# 每行3个，间隔2m
row_unit=3
offset=2




for i in $(seq 1 10)  
do   
    init_x=$[ -(i-1)/row_unit*offset ]
    init_y=$[  (i-1)%row_unit*offset ]


    echo "${i} ${init_x} ${init_y}"
done 